<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <title>食材信息详情</title>
  <%@ include file="include/head.jsp" %>
</head>
<body>
<div class="container-fluid">
  <ul class="nav nav-tabs">
    <li><a href="FoodServlet?action=list">用户列表</a></li>
    <li class="active"><a href="#">详情</a></li>
  </ul>
  <br/>
  <form class="form-horizontal" role="form" action="#" method="post">
    <input type="hidden" class="form-control" id="id" name="id" value="${vo.id}"/>
    <div class="form-group">
      <label class="col-sm-3 control-label">名称：</label>
      <div class="col-sm-5" style="padding-top: 7px;">
        ${vo.foodName}
      </div>
    </div>
    <div class="form-group">
      <label class="col-sm-3 control-label">类别：</label>
      <div class="col-sm-5" style="padding-top: 7px;">
        ${vo.foodType}
      </div>
    </div>
    <div class="form-group">
      <label class="col-sm-3 control-label">评价：</label>
      <div class="col-sm-5" style="padding-top: 7px;">
        ${vo.foodPingjia}
      </div>
    </div>
    <div class="form-group">
      <label class="col-sm-3 control-label">描述：</label>
      <div class="col-sm-5" style="padding-top: 7px;">
        ${vo.foodMiaosu}
      </div>
    </div>
    <div class="form-group">
      <label class="col-sm-3 control-label">备注：</label>
      <div class="col-sm-5" style="padding-top: 7px;">
        <textarea rows="3" class="form-control" id="foodText" name="foodText" disabled="disabled">${vo.foodText}</textarea>
      </div>
    </div>
    <div class="form-group">
      <label class="col-sm-3 control-label"></label>
      <div class="col-sm-5" style="padding-top: 7px;">
        <input type="button" class="btn btn-rect btn-grad btn-warning btn-sm" value="返回" onclick="javascript:history.back(-1);">
      </div>
    </div>
  </form>
</div>
</body>
</html>
